﻿using System;
using System.ComponentModel.DataAnnotations;
using XStudio.XCRF.Data.Business.Archieve;

namespace XStudio.XCRF.Data.Entities.CureInfo
{
    /// <summary>
    /// 治疗信息 化疗信息
    /// </summary>
    public partial class CureChemo : Chemo<CureChemo>, IArchieve
    {
        #region 属性
        /// <summary>
        /// 治疗信息ID
        /// </summary>
        [ForeignKey("CureInfo")]
        public Guid? CureInfoID { get; set; }
        /// <summary>
        /// 治疗信息
        /// </summary>
        public virtual CureInfo CureInfo { get; set; }
        #endregion 属性

        public CureChemo Clone()
        {
            CureChemo cc = new CureChemo();
            cc.Creater = this.Creater;
            cc.CreaterID = this.CreaterID;
            cc.CreateTime = this.CreateTime;
            cc.CureInfo = this.CureInfo;
            cc.CureInfoID = this.CureInfoID;
            cc.EndTime = this.EndTime;
            cc.IsDeleted = this.IsDeleted;
            cc.LastModifier = this.LastModifier;
            cc.LastModifierID = this.LastModifierID;
            cc.LastModifyTime = this.LastModifyTime;
            cc.Master = this.Master;
            cc.MasterID = this.MasterID;
            cc.Period = this.Period;
            cc.Remark = this.Remark;
            cc.Scheme = this.Scheme;
            cc.StartTime = this.StartTime;
            return cc;
        }
    }
}